package com.study.debby.smarttable.dagger

import java.text.SimpleDateFormat
import java.util.*
import javax.inject.Inject

/**
 * Created by debby on 2018/6/8.
 * 描述:
 */
class Format @Inject constructor() {
    fun getToday(): String {
        val date = Date(System.currentTimeMillis())
        val sdf = SimpleDateFormat("yyyy年MM月dd日HH时mm分", Locale("zh", "CN"))
        return sdf.format(date)
    }
}